<?php
/**
 * Base class for all models of this application.
 */
class Translator_Model {
	/**
	 * @var Zend_Db_Adapter_Abstract
	 */
	protected $_db;
	
	/**
	 * Stores the default table adapter in the _db attribute.
	 */
	public function __construct() {
		$this->_db = Zend_Db_Table::getDefaultAdapter();
		$this->_db->setFetchMode(Zend_Db::FETCH_OBJ);
	}
}